package com.aya.activity.shop.fullmoney;

import com.aya.activity.core.model.Goods;

import java.math.BigDecimal;

/**
 * 商品满额减活动
 */
@FunctionalInterface
public interface FullMoneyService {
    /**
     * 获得减免金额
     * @param goods  商品对象
     * @return 减免金额
     */
    BigDecimal getCutMoney(Goods goods);
}
